package typejump.commands;

import typejump.TypeJump;
import typejump.engine.GameEngine;


public class Stop implements TextCommand {

	@Override
	public boolean matches(String command) {
		return command.equalsIgnoreCase("stop");
	}

	@Override
	public void act(String command) {
		TypeJump.getInst().getPlayer().vx(0);
		GameEngine.addTextEffect("STOP", "stop");
	}

}
